MPHB\Shortcodes\SearchResultsShortcode B

Total Complexity 87
Dependencies 7
Dependents 1
Total lines 908
Lines of code 549
Logical lines of code 295
Comment lines 195
Methods 22
Properties 20

Methods 22

Method Rating Maintainability Complexity Lines of code
renderRecommendation()
B
32 11 124
setupMatchedRoomTypes()
A
41 12 58
render()
A
41 10 54
setupSearchData()
S
51 6 27
parseInputData()
S
61 5 11
getAvailableRoomTypes()
S
45 3 39
getRoomTypesQuery()
S
55 4 19
parseCheckOutDate()
S
58 4 15
renderBookButton()
S
51 3 29
renderReservationCart()
S
50 2 33
mainLoop()
S
60 3 14
parseCheckInDate()
S
59 3 13
stickRequestedRoomType()
S
61 3 12
generateRecommmendation()
S
64 3 9
parseChildren()
S
63 3 10
parseAttributes()
S
64 3 10
parseAdults()
S
63 3 10
setup()
S
61 2 13
renderRoomType()
S
57 1 17
addActions()
S
57 1 16
showErrorsMessage()
S
71 1 6
renderResultsInfo()
S
63 1 10